package com.cubicleman.airvj.events
{
	import com.cubicleman.airvj.model.vo.LyricsRequest;
	
	import flash.events.Event;

	/**
	 * 
	 * @author dk
	 * 
	 * I model the event dispathed when lyrics are requested by the UI
	 * I am intended to be a vehicle of communitcation between UI components
	 */	
	public class LyricsSelectedEvent extends Event
	{
		public static const LYRICS_SELECTED:String = 'lyricsSelectedEvent';
		
		public var lyricsRequest:LyricsRequest;
		
		public function LyricsSelectedEvent( lyricsRequest:LyricsRequest=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super( LYRICS_SELECTED, bubbles, cancelable);
			this.lyricsRequest = lyricsRequest;
		}
		
		override public function clone():Event
		{
			return new LyricsSelectedEvent( this.lyricsRequest );
			
		}
		
	}
}